package com.item.service;

import com.item.dao.RegisterVerifyMapper;
import com.item.dao.model.RegisterVerify;
import com.item.dao.model.RegisterVerifyExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisterVerifyService {
    @Autowired
    private RegisterVerifyMapper registerVerifyMapper;

    private static final Logger logger = Logger.getLogger(RegisterVerifyService.class);

    public int countByExample(RegisterVerifyExample example) {
        return this.registerVerifyMapper.countByExample(example);
    }

    public RegisterVerify selectByPrimaryKey(String id) {
        return this.registerVerifyMapper.selectByPrimaryKey(id);
    }

    public List<RegisterVerify> selectByExample(RegisterVerifyExample example) {
        return this.registerVerifyMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.registerVerifyMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(RegisterVerify record) {
        return this.registerVerifyMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(RegisterVerify record) {
        return this.registerVerifyMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(RegisterVerifyExample example) {
        return this.registerVerifyMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(RegisterVerify record, RegisterVerifyExample example) {
        return this.registerVerifyMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(RegisterVerify record, RegisterVerifyExample example) {
        return this.registerVerifyMapper.updateByExample(record, example);
    }

    public int insert(RegisterVerify record) {
        return this.registerVerifyMapper.insert(record);
    }

    public int insertSelective(RegisterVerify record) {
        return this.registerVerifyMapper.insertSelective(record);
    }
}